package com.xiaoshuidi.cloud.module.rooms.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaoshuidi.cloud.framework.tenant.core.db.TenantBaseDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

@Data
@TableName("room_sdiot_reading_order_record")
@Schema(description = "批量抄表记录")
public class RoomSdiotReadingOrderRecord extends TenantBaseDO implements Serializable {
    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long readingOrderId;

    private String feeType;

    private BigDecimal price;

    private LocalDate lastTimeReadingTime;

    private BigDecimal lastTimeReadingCount;

    private LocalDate currentReadingTime;

    private BigDecimal currentReadingCount;

    //本次和上次相差读数
    private BigDecimal reading;

    //应收日期
    private LocalDate dueDate;

    private BigDecimal fee;

    private Long deptId;

    private Long billId;


}
